<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script>
			var num1=prompt("请您输入数字");
			var l1=1;
			var l2=2;
			var l3=3;
			var l4=4;
			var l5=5;
			var l6=6;
			var l7=7;
			var l8=8;
			var l9=9;
			var l10=10;
			var l11=11;
			var l12=12;
			
			if(num1==l1||num1==l2||num1==l3){
				alert("第一季度");
			}else if(num1==l4||num1==l5||num1==l6){
				alert("第二季度");
			}else if(num1==l7||num1==l8||num1==l9){
				alert("第三季度");
			}else if(num1==l10||num1==l11||num1==l12){
				alert("第四季度");
			}else{
				alert("请您输入正确的数值");
			}
		</script>
	</head>
	<body>
	</body>
</html>
